/**
 * Created by Administrator on 2016/1/7.
 */
$(function(){
    $(document).on("pageshow","#xiaopin_html",function(){
        var $p = $("#xiaopin_html");


        var $w = $p.find(".word");
        $w.css({
            top:400,
            left:$(window).width()/2-$w.width()/2
        })
        swiperAnimateMany($w);
        var $m = $p.find(".yx");
        $m.css({
            top:500,
            left:$(window).width()/2-$w.width() - $m.width()
        })
        swiperAnimateMany($m);

        var $d1 = $p.find(".wf1");
        $d1.css({
            top:500,
            left:$(window).width()/2+$d1.width()
        })
        swiperAnimateMany($d1);

        var $d = $p.find(".wf");
        $d.css({
            top:500,
            left:$(window).width()/2+$d.width()
        })
        swiperAnimateMany($d);
        damoo.emit({ text: "大屏有彩蛋哦~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~", color: $.getRandomColor() ,shadow: { color: "#f49"} });
        setTimeout(function(){
            damoo.emit({ text: "于欣：嗨，小伙子，我的搭档不是你！！！！！！！！！！！！", color: $.getRandomColor() ,shadow: { color: "#f49"} });
        },3500);

        setTimeout(function(){
            damoo.emit({ text: "王峰：俺才是正牌！！！！！！！！！！！！！！", color: $.getRandomColor() ,shadow: { color: "#f49"} });
        },5500);
    })
})